<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="姜启航">
    <title></title>
    <style>
        *{
            box-sizing:border-box;
        }
    .container{
        width: 1200px;
        margin: 10px auto; 
    }
    ul{
        margin: 0;
        padding: 0;
        list-style: none;
        width: 750px;
        margin: 0 auto;
        /* height: 400px; */
        border: 1px solid red;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around
    }
    li{
        width: 130px;
        height: 130px;
        border: 1px solid #999;
        margin: 5px;
    }
    img{
        width: 128px;
        height: 128px;
        opacity: 0.3;
    }
    img:hover{
        opacity: 1;

    }
    </style>
</head>
<body>

        <div class="container">
           <ul>
               <li><img src="img/1.jpg" alt=""></li>
               <li><img src="img/2.jpg" alt=""></li>
               <li><img src="img/3.jpg" alt=""></li>
               <li><img src="img/4.jpg" alt=""></li>
               <li><img src="img/5.jpg" alt=""></li>
               <li><img src="img/6.jpg" alt=""></li>
               <li><img src="img/7.jpg" alt=""></li>
               <li><img src="img/8.jpg" alt=""></li>
               <li><img src="img/9.jpg" alt=""></li>
               <li><img src="img/10.jpg" alt=""></li>
           </ul>
        </div>
</body>
</html>